package com.wg.api.client;

import com.wg.api.dto.OrderDTO;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zf_serveer
 * @CreateTime 2025/1/13 0013
 */
@FeignClient("order-service")
public interface OrderClient {
    @DeleteMapping("/save")
    void saveOrder(@RequestBody OrderDTO order);
}
